import 'package:flutter/material.dart';

class Detail extends StatelessWidget {
  const Detail({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('商品详情'),
      ),
      body: TextButton(
          onPressed: () {
            Navigator.pop(context);
          },
          child: const Text('返回')),
    );
  }
}
